/**
 * 
 */
package gpl.scotlandyard.android.controllers;

import gpl.scotlandyard.android.activities.AbstractActivity;
import gpl.scotlandyard.beans.basics.Board;
import gpl.scotlandyard.services.basics.BoardManager;

/**
 * @author Norbert
 */
public interface IController {

  /**
   * @return activity
   */
  AbstractActivity getActivity();

  /**
   * Sets the view managed by the controller.
   * 
   * @param activity
   */
  void setActivity(AbstractActivity activity);

  /**
   * @return model
   */
  Board getModel();

  /**
   * @return
   */
  BoardManager getBoardManager();

  /**
   * @param boardManager
   */
  void setBoardManager(BoardManager boardManager);

  /**
   * 
   */
  void onViewCreated();

  /**
   * 
   */
  void onBackPressed();

}
